package com.mdp.im.core.subscriber.action.impl;

import com.alibaba.fastjson.JSONObject;
import com.mdp.im.core.scbscriber.api.action.ScbscriberAction;
import com.mdp.im.core.subscriber.action.AbstractSubscriberAction;
import org.springframework.stereotype.Service;

/**
 * 群组名称改变处理器
 * 
 * @author chenyc
 * @date 2018/6/8
 */
@Service
public class ChannelGroupNameChangedAction extends AbstractSubscriberAction implements ScbscriberAction {

    /**
     * 处理消息
     * 
     * @param message
     */
    @Override
    public void doAction(JSONObject message) {
         super.handleMessageWithGroup(message,true,message.getString("groupId"));
    }

}
